package com.sc.nft.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sc.nft.dao.PayRefundDao;
import com.sc.nft.entity.dto.PayRefundDTO;
import com.sc.nft.entity.dto.TripartitePayRefundListDTO;
import com.sc.nft.entity.vo.PayRefundRecordsVO;
import com.sc.nft.service.PayRefundService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author mtyz
 * @description 针对表【sc_pay_refund】的数据库操作Service实现
 * @createDate 2024-06-24 16:33:23
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class PayRefundServiceImpl implements PayRefundService {

    private final PayRefundDao payRefundDao;


    @Override
    public IPage<PayRefundRecordsVO> tripartitePayRefundRecordsPage(PayRefundDTO request) {
        return payRefundDao.tripartitePayRefundRecordsPage(request.getUserTel(),request.getOrderNo(),request.getTradeNo(),request.toMp());
    }
}




